From 638ac11171a3d587155bbe4b765a1024dc188742 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 28 Jul 2017 21:37:08 +0200 Subject: [PATCH] Update error-chain dep for crates-io as well --- Cargo.lock | 11 +---------- src/cargo/util/errors.rs | 2 ++ src/crates-io/Cargo.toml | 2 +- src/crates-io/lib.rs | 2 ++ 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1a6ec09f9..08ab0affd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -167,7 +167,7 @@ name = "crates-io" version = "0.11.0" dependencies = [ "curl 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "error-chain 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", + "error-chain 0.11.0-rc.2 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -246,14 +246,6 @@ dependencies = [ "regex 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "error-chain" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "backtrace 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "error-chain" version = "0.11.0-rc.2" @@ -1019,7 +1011,6 @@ dependencies = [ "checksum docopt 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3b5b93718f8b3e5544fcc914c43de828ca6c6ace23e0332c6080a2977b49787a" "checksum dtoa 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "80c8b71fd71146990a9742fc06dcbbde19161a267e0ad4e572c35162f4578c90" "checksum env_logger 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3ddf21e73e016298f5cb37d6ef8e8da8e39f91f9ec8b0df44b7deb16a9f8cd5b" -"checksum error-chain 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d9435d864e017c3c6afeac1654189b06cdb491cf2ff73dbf0d73b0f292f42ff8" "checksum error-chain 0.11.0-rc.2 (registry+https://github.com/rust-lang/crates.io-index)" = "38d3a55d9a7a456748f2a3912c0941a5d9a68006eb15b3c3c9836b8420dc102d" "checksum filetime 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "5363ab8e4139b8568a6237db5248646e5a8a2f89bd5ccb02092182b11fd3e922" "checksum flate2 0.2.19 (registry+https://github.com/rust-lang/crates.io-index)" = "36df0166e856739905cd3d7e0b210fe818592211a008862599845e012d8d304c" diff --git a/src/cargo/util/errors.rs b/src/cargo/util/errors.rs index 0f4cd4cb4..34ad73cc8 100644 --- a/src/cargo/util/errors.rs +++ b/src/cargo/util/errors.rs @@ -1,3 +1,5 @@ +#![allow(unknown_lints)] + use std::error::Error; use std::fmt; use std::io; diff --git a/src/crates-io/Cargo.toml b/src/crates-io/Cargo.toml index eb9638964..9a771a071 100644 --- a/src/crates-io/Cargo.toml +++ b/src/crates-io/Cargo.toml @@ -14,7 +14,7 @@ path = "lib.rs" [dependencies] curl = "0.4" -error-chain = "0.10.0" +error-chain = "0.11.0-rc.2" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" diff --git a/src/crates-io/lib.rs b/src/crates-io/lib.rs index 05ca8e8de..cd8df416d 100644 --- a/src/crates-io/lib.rs +++ b/src/crates-io/lib.rs @@ -1,3 +1,5 @@ +#![allow(unknown_lints)] + extern crate curl; extern crate url; #[macro_use] -- 2.30.2